diff options
| author | secondl1ght <[email protected]> | 2022-09-16 12:28:53 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-09-16 12:28:53 -0600 |
| commit | d7274fce332ecdd7adc79a6d286cc3e9f571a902 (patch) | |
| tree | ee5be2a433005008f869de2395fe26407e942b45 /src/routes/[username]/dashboard | |
| parent | d8b4796a61747d5f58edc4bccdd0408e915b025d (diff) | |
| download | coinos-ui-d7274fce332ecdd7adc79a6d286cc3e9f571a902.tar.gz coinos-ui-d7274fce332ecdd7adc79a6d286cc3e9f571a902.zip | |
format and temp disable username update until we fix breaking changes
Diffstat (limited to 'src/routes/[username]/dashboard')
| -rw-r--r-- | src/routes/[username]/dashboard/+page.svelte | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/routes/[username]/dashboard/+page.svelte b/src/routes/[username]/dashboard/+page.svelte index 3cd3ac67..56c8571f 100644 --- a/src/routes/[username]/dashboard/+page.svelte +++ b/src/routes/[username]/dashboard/+page.svelte @@ -14,7 +14,7 @@ withdrawing; let toggle = async () => { -payreq = '' + payreq = ''; withdrawing = !withdrawing; await tick(); if (withdrawing) payreqField.focus(); @@ -73,8 +73,9 @@ payreq = '' class="rounded-full border py-2 px-5 font-bold mt-4 block md:inline hover:bg-primary" on:click={() => goto(`/${user.username}/receive`)}>{$t('user.dashboard.receive')}</button > - <button class="rounded-full border py-2 px-5 font-bold mt-5 md:mt-4 hover:bg-primary" on:click={toggle} - >{$t('user.dashboard.withdraw')}</button + <button + class="rounded-full border py-2 px-5 font-bold mt-5 md:mt-4 hover:bg-primary" + on:click={toggle}>{$t('user.dashboard.withdraw')}</button > </div> {:else} @@ -84,7 +85,7 @@ payreq = '' </button> <div> -<!-- found missing translation --> + <!-- found missing translation --> <label for="invoice" class="font-bold mb-1 block">Lightning Invoice</label> <input bind:this={payreqField} @@ -96,8 +97,8 @@ payreq = '' /> </div> -<!-- TODO --> -<!-- + <!-- TODO --> + <!-- <div> <label for="note" class="font-bold mb-1 block">{$t('user.dashboard.optionalNote')}</label> <textarea name="note" rows={2} class="block border rounded-2xl p-3 w-full bg-primary" /> |
